/* 模态框背景 */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* 模态框内容 */
.modal-content {
  background-color: #fff;
  border-radius: 12px; /* 圆角 */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* 阴影 */
  width: 90%;
  max-width: 500px;
  overflow: hidden;
}

/* 模态框头部 */
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

/* 书籍详情标题 */
.book-detail-title {
  font-size: 20px;
  font-weight: bold;
  color: #333;
}

/* 关闭按钮 */
.modal-close {
  font-size: 24px;
  color: #999;
  background: none;
  border: none;
  padding: 0;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  margin-right: 0;
}

.modal-close:hover {
  color: #666;
}

/* 模态框主体 */
.modal-body {
  padding: 20px;
}

/* 书籍封面 */
.book-detail-cover {
  width: 120px;
  height: 180px;
  background-color: #f5f5f5;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: #999;
  margin: 0 auto 20px;
  overflow: hidden;
}

/* 书籍详情信息 */
.book-detail-info {
  text-align: center;
}

/* 书籍元数据 */
.book-detail-meta {
  margin-bottom: 20px;
}

/* 书籍元数据项 */
.book-detail-meta-item {
  font-size: 14px;
  color: #666;
  line-height: 1.8;
  display: flex;
  justify-content: space-between;
}

/* 书主信息 */
.book-detail-owner {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

/* 书主头像 */
.owner-avatar {
  width: 48px;
  height: 48px;
  background-color: #f5f5f5;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #999;
  margin-right: 16px;
}

/* 书主信息内容 */
.owner-info {
  flex: 1;
}

/* 书主姓名 */
.owner-name {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 4px;
}

/* 书主联系方式 */
.owner-contact {
  font-size: 14px;
  color: #666;
}

/* 操作按钮 */
.action-buttons {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

/* 按钮通用样式 */
.btn {
  flex: 1;
  padding: 5px 0;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
}

/* 主按钮 */
.btn-primary {
  background-color: #007aff;
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* 次按钮 */
.btn-secondary {
  background-color: #f5f5f5;
  color: #333;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background-color: #eee;
}

.toggle-arrow {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-top: 8px;
}

.book-detail-info {
  cursor: pointer;
} 

.additional-info {
  overflow: hidden;
  max-height: 0;
  transition: max-height 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.time-picker-container{
  width: 100rpx;
  height: 100rpx;
}